<template>
    <!-- 缓存一级路由 -->
    <router-view #default="{ Component }">
        <keep-alive include="Home">
            <component :is="Component"></component>
        </keep-alive>
    </router-view>
</template>
<script setup>
import { provide } from "vue";
provide("BASE_URL", import.meta.env.VITE_API_URL);
</script>
<style scoped></style>